
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <iostream>
#include <string>
#include <stdio.h>
#include <sys/time.h>
#include "app_platform/cntl_info.h"
#include "app_platform/cgi_stub_cntl.h"
#include "../include/accountdao_stub4web_allinone.h"
#include "erp/account/ddo/contactfilterddo_account.h"	
#include "erp/account/ddo/employeeddo_account.h"	
#include "erp/account/ddo/customercreditddo_account.h"	
#include <set>	
#include "erp/account/ddo/businessunitsddo_account.h"	
#include <map>	
#include <vector>	
#include "erp/account/ddo/employeefilterddo_account.h"	
#include "erp/account/ddo/contactddo_account.h"	
#include "erp/account/ddo/businessunitsfilterddo_account.h"	

using namespace erp::account::dao;

void Init()
{       
	if(CCGI_STUB_CNTL->Initialize(true) != 0)
		std::cerr << "CCGI_STUB_CNTL->Init failed" << std::endl;
	CCGI_STUB_CNTL->setTimeout(5);
}
void TestDeleteBusinessUnits()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	uint64_t businessUnitsSysNo = 0;
	std::string inReserve = "";		
	std::string errmsg = "";		
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.DeleteBusinessUnits(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		businessUnitsSysNo,
		inReserve,
		errmsg,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}
void TestDeleteContact()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	uint64_t contactSysNo = 0;
	std::string inReserve = "";		
	std::string errmsg = "";		
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.DeleteContact(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		contactSysNo,
		inReserve,
		errmsg,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}
void TestDeleteEmployee()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	uint64_t employeeSysNo = 0;
	std::string inReserve = "";		
	std::string errmsg = "";		
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.DeleteEmployee(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		employeeSysNo,
		inReserve,
		errmsg,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}
void TestGetBusinessUnitsByFilter()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	erp::account::ddo::CBusinessUnitsFilterDdo filter;
	std::string inReserve = "";		
	std::string errmsg = "";		
	uint32_t total = 0;
	std::vector<erp::account::ddo::CBusinessUnitsDdo > businessUnitsDdo;
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.GetBusinessUnitsByFilter(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		filter,
		inReserve,
		errmsg,
		total,
		businessUnitsDdo,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}
void TestGetBusinessUnitsBySysNos()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	std::set<uint64_t > businessUnitsSysNo;
	std::string inReserve = "";		
	std::string errmsg = "";		
	std::map<uint64_t,uint32_t > errorCode;
	std::map<uint64_t,std::string > errorMsg;
	std::map<uint64_t,erp::account::ddo::CBusinessUnitsDdo > businessUnitsDdo;
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.GetBusinessUnitsBySysNos(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		businessUnitsSysNo,
		inReserve,
		errmsg,
		errorCode,
		errorMsg,
		businessUnitsDdo,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}

void TestGetContactByFilter()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	erp::account::ddo::CContactFilterDdo filter;
	std::string inReserve = "";		
	std::string errmsg = "";		
	uint32_t total = 0;
	std::vector<erp::account::ddo::CContactDdo > contactDdo;
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.GetContactByFilter(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		filter,
		inReserve,
		errmsg,
		total,
		contactDdo,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}
void TestGetContactBySysNos()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	std::set<uint64_t > contactSysNo;
	std::string inReserve = "";		
	std::string errmsg = "";		
	std::map<uint64_t,uint32_t > errorCode;
	std::map<uint64_t,std::string > errorMsg;
	std::map<uint64_t,erp::account::ddo::CContactDdo > contactDdo;
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.GetContactBySysNos(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		contactSysNo,
		inReserve,
		errmsg,
		errorCode,
		errorMsg,
		contactDdo,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}
void TestGetCustomerCredit()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	uint64_t branchSysNo = 0;
	uint64_t businessUnitsSysNo = 0;
	std::string inReserve = "";		
	std::string errmsg = "";		
	erp::account::ddo::CCustomerCreditDdo customerCreditDdo;
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.GetCustomerCredit(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		branchSysNo,
		businessUnitsSysNo,
		inReserve,
		errmsg,
		customerCreditDdo,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}
void TestGetEmployeeByFilter()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	erp::account::ddo::CEmployeeFilterDdo filter;
	std::string inReserve = "";		
	std::string errmsg = "";		
	uint32_t total = 0;
	std::vector<erp::account::ddo::CEmployeeDdo > businessUnitsDdo;
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.GetEmployeeByFilter(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		filter,
		inReserve,
		errmsg,
		total,
		businessUnitsDdo,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}
void TestGetEmployeeBySysNos()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	std::set<uint64_t > employeeSysNo;
	std::string inReserve = "";		
	std::string errmsg = "";		
	std::map<uint64_t,uint32_t > errorCode;
	std::map<uint64_t,std::string > errorMsg;
	std::map<uint64_t,erp::account::ddo::CEmployeeDdo > employeeDdo;
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.GetEmployeeBySysNos(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		employeeSysNo,
		inReserve,
		errmsg,
		errorCode,
		errorMsg,
		employeeDdo,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}

void TestModifyBusinessUnits()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(100);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(100);
	std::string machineKey = "10.12.194.127";
	std::string source = "accountdao_test";
	uint32_t sceneId = 10;
	uint32_t option = 0;

	std::string inReserve = "";		
	std::string errmsg = "";		
	uint64_t SysNo = 0;
	std::string outReserve = "";

	// TODO:替换函数参数
	CAccountDaoStub4Web oStub;

	for (int i=10; i < 20; i++)
	{
		erp::account::ddo::CBusinessUnitsDdo businessUnitsDdo;
		businessUnitsDdo.SetBusinessUnitsSysNo(i);

		std::stringstream fullname;
		fullname << "ERP_Yun_" << i;
		businessUnitsDdo.SetFullName(fullname.str());
		std::stringstream name;
		name << "EY" << i;
		businessUnitsDdo.SetName(name.str());
		businessUnitsDdo.SetParentSysNo(i - 1);

		// TODO:替换函数参数
	    uint32_t dwResult = oStub.ModifyBusinessUnits(
			oCntlInfo,
			machineKey,
			source,
			sceneId,
			option,
			businessUnitsDdo,
			inReserve,
			errmsg,
		SysNo,
			outReserve
	  	);

		if(dwResult == 0)
		{
			std::cout << "Invoke OK!" << std::endl;
			printf("TestModifyBusinessUnits OK result[0x%x], time = %ld\n"
			, dwResult, oStub.GetLastConsumeTime());
		}
		else
		{
			printf("TestModifyBusinessUnits Error result[0x%x], time = %ld , errmsg = [%s]\n"
			, dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
		}
	}
}

void TestModifyContact()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	erp::account::ddo::CContactDdo contactDdo;
	std::string inReserve = "";		
	std::string errmsg = "";		
	uint64_t SysNo = 0;
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.ModifyContact(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		contactDdo,
		inReserve,
		errmsg,
		SysNo,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}
void TestModifyCustomerCredit()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	erp::account::ddo::CCustomerCreditDdo customerCreditDdo;
	std::string inReserve = "";		
	std::string errmsg = "";		
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.ModifyCustomerCredit(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		customerCreditDdo,
		inReserve,
		errmsg,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}
void TestModifyEmployee()
{
	//TODO 如果使用配置中心来获取APP地址,请注释下行
	//CCGI_STUB_CNTL->setPeerAddr("172.25.34.123", 53101);

	//TODO 请设置用户Passport
	CCntlInfo oCntlInfo;
	oCntlInfo.setOperatorUin(88883687);
	oCntlInfo.setOperatorClientIP(0);
	oCntlInfo.setOperatorKey("stw3ymf9uk");
	//TODO 请设置路由值
	oCntlInfo.setRouteKey(88883687);
	std::string machineKey = "";		
	std::string source = "";		
	uint32_t sceneId = 0;
	uint32_t option = 0;
	erp::account::ddo::CEmployeeDdo employeeDdo;
	std::string inReserve = "";		
	std::string errmsg = "";		
	uint64_t SysNo = 0;
	std::string outReserve = "";		
	CAccountDaoStub4Web oStub;
	// TODO:替换函数参数
    uint32_t dwResult = oStub.ModifyEmployee(
		oCntlInfo,
		machineKey,
		source,
		sceneId,
		option,
		employeeDdo,
		inReserve,
		errmsg,
		SysNo,
		outReserve
  	);
    if(dwResult == 0)
	{
		std::cout << "Invoke OK!" << std::endl;
		printf("OK result[0x%x], time = %ld\n"
        , dwResult, oStub.GetLastConsumeTime());
	}
	else
    {
        printf("Error result[0x%x], time = %ld , errmsg = [%s]\n"
        , dwResult, oStub.GetLastConsumeTime(),oStub.GetLastErrMsg());
    }
}

//测试主函数
int main(int argc, char** argv)
{
	//
	//测试主流程
	// 开发人员可以根据业务需要进行顺序的调整，以期达到更好的测试效果
	// 比如，可以按照插入、选择、修改、选择、删除、选择 顺序进行处理
	//
	Init();
	TestDeleteBusinessUnits();
	TestDeleteContact();
	TestDeleteEmployee();
	TestGetBusinessUnitsByFilter();
	TestGetBusinessUnitsByIds();
	TestGetContactByFilter();
	TestGetContactByIds();
	TestGetCustomerCredit();
	TestGetEmployeeByFilter();
	TestGetEmployeeByIds();
	TestModifyBusinessUnits();
	TestModifyContact();
	TestModifyCustomerCredit();
	TestModifyEmployee();
	return 0;
}
